index.html.vue 88 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370
  1. <template>
  2. <div>
  3. <!-- 页面头部 -->
  4. <HomePageHead></HomePageHead>
  5. <!-- 页面导航 -->
  6. <HomePageNavigation></HomePageNavigation>
  7. <!-- 广告一 -->
  8. <HomeAdvertising :imgurl="adImg1"></HomeAdvertising>
  9. <!-- 二级导航列表 -->
  10. <div class="nav2top"></div>
  11. <div class="nav2">
  12. <ul class="inner">
  13. <li class="home">
  14. {{ title }}
  15. </li>
  16. <li class="titleList" v-for="(item, index) in pageData" :key="index">
  17. <NuxtLink :href="getLinkPath(item)" :title="item.alias">
  18. <span class="nav2_title">{{ item.alias }}</span>
  19. </NuxtLink>
  20. </li>
  21. </ul>
  22. </div>
  23. <div class="nav2btm"></div>
  24. <!-- 第一层 -->
  25. <!-- 第一部分 -->
  26. <div class="part1">
  27. <div class="inner">
  28. <div class="part1_left" v-if="pageData[0]">
  29. <div class="part1_title">
  30. <h2 class="nav_part1_left">
  31. <NuxtLink :href="getLinkPath(pageData[0])" v-if="pageData[0]" :title="pageData[0].alias">
  32. {{ pageData[0].alias }}
  33. </NuxtLink>
  34. <em></em>
  35. </h2>
  36. </div>
  37. <div class="part1_content">
  38. <div class="context_left">
  39. <div class="top" v-for="(item, index) in pageData[0].data" :key="index">
  40. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  41. <img :src="item.imgurl" alt="item.title">
  42. <span class="title1">{{ item.title }}</span>
  43. </NuxtLink>
  44. </div>
  45. <div class="bottom">
  46. <div class="bottom_left" v-for="(item, index) in pageData[0].data1" :key="index">
  47. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  48. <img :src="item.imgurl" alt="item.title">
  49. <span class="title2">{{ item.title }}</span>
  50. </NuxtLink>
  51. </div>
  52. </div>
  53. </div>
  54. <div class="context_right">
  55. <ul class="rightContent">
  56. <li class="context1" v-for="(item, index) in pageData[0].data2" :key="index">
  57. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  58. {{ item.title }}
  59. </NuxtLink>
  60. </li>
  61. </ul>
  62. </div>
  63. </div>
  64. </div>
  65. <div class="part1_right" v-if="pageData[1]">
  66. <div class="part1_right_title">
  67. <h2 class="part1_right_title1_active">
  68. <NuxtLink :href="getLinkPath(pageData[1])" v-if="pageData[1]" :title="pageData[1].alias">
  69. {{ pageData[1].alias }}
  70. </NuxtLink>
  71. <em class="active_bg"></em>
  72. </h2>
  73. </div>
  74. <div class="part1_right_content">
  75. <div class="part1_right_top11">
  76. <div class="part1_right_content_top" v-for="(item, index) in pageData[1].data" :key="index">
  77. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  78. <img :src="item.imgurl" alt="item.title">
  79. <span class="content_top_title2">{{ item.title }}</span>
  80. </NuxtLink>
  81. </div>
  82. </div>
  83. <!-- <div class="part1_right_content_top" v-for="(item, index) in pageData[1].data" :key="index">
  84. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  85. <img :src="item.imgurl" alt="item.title">
  86. <span class="content_top_title2">{{ item.title }}</span>
  87. </NuxtLink>
  88. </div> -->
  89. <ul class="part1_right_content_bottom">
  90. <li class="content_bottom_list" v-for="(item, index) in pageData[1].data1" :key="index">
  91. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  92. {{ item.title }}
  93. </NuxtLink>
  94. </li>
  95. </ul>
  96. </div>
  97. </div>
  98. </div>
  99. </div>
  100. <!-- 第二部分 -->
  101. <div class="part2">
  102. <div class="inner">
  103. <div class="part2_left" v-if="pageData[2]">
  104. <div class="part2_title">
  105. <h2 class="nav_part2_left">
  106. <NuxtLink :href="getLinkPath(pageData[2])" v-if="pageData[2]" :title="pageData[2].alias">
  107. {{ pageData[2].alias }}
  108. </NuxtLink>
  109. <em></em>
  110. </h2>
  111. </div>
  112. <div class="part2_content">
  113. <div class="part2_content_left">
  114. <ul class="content_a">
  115. <li class="context111" v-for="(item, index) in pageData[2].data2" :key="index">
  116. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  117. {{ item.title }}
  118. </NuxtLink>
  119. </li>
  120. </ul>
  121. </div>
  122. <div class="part2_content_right">
  123. <div class="right_top" v-for="(item, index) in pageData[2].data" :key="index">
  124. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  125. <img :src="item.imgurl" alt="item.title">
  126. <span class="title11">{{ item.title }}</span>
  127. </NuxtLink>
  128. </div>
  129. <div class="right_bottom">
  130. <div class="bottom_left" v-for="(item, index) in pageData[2].data1" :key="index">
  131. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  132. <img :src="item.imgurl" alt="item.title">
  133. <span class="title22">{{ item.title }}</span>
  134. </NuxtLink>
  135. </div>
  136. </div>
  137. </div>
  138. </div>
  139. </div>
  140. <div class="part2_right" v-if="pageData[3]">
  141. <div class="part2_right_title">
  142. <h2 class="part2_right_title1_active">
  143. <NuxtLink :href="getLinkPath(pageData[3])" v-if="pageData[3]" :title="pageData[3].alias">
  144. {{ pageData[3].alias }}
  145. </NuxtLink>
  146. <em class="active_bg11"></em>
  147. </h2>
  148. </div>
  149. <div class="part2_right_content">
  150. <div class="part2_right_top11">
  151. <div class="part2_right_content_top" v-for="(item, index) in pageData[3].data" :key="index">
  152. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  153. <img :src="item.imgurl" alt="item.title">
  154. <span class="content_top_title22">{{ item.title }}</span>
  155. </NuxtLink>
  156. </div>
  157. </div>
  158. <ul class="part2_right_content_bottom">
  159. <li class="content_bottom_list" v-for="(item, index) in pageData[3].data2" :key="index">
  160. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  161. {{ item.title }}
  162. </NuxtLink>
  163. </li>
  164. </ul>
  165. </div>
  166. </div>
  167. </div>
  168. </div>
  169. <!-- 广告二 -->
  170. <HomeAdvertising :imgurl="adImg2"></HomeAdvertising>
  171. <!-- 第二层 -->
  172. <div class="part3" v-if="pageData[4]">
  173. <div class="inner">
  174. <div class="part3_left">
  175. <div class="part3_left_top" v-if="pageData[4]">
  176. <div class="part3_leftTitle">
  177. <h2 class="part3_left_title">
  178. <NuxtLink :href="getLinkPath(pageData[4])" v-if="pageData[4]"
  179. :title="pageData[4].alias">
  180. {{ pageData[4].alias }}
  181. </NuxtLink>
  182. <em></em>
  183. </h2>
  184. </div>
  185. <div class="part3_left_content" v-if="pageData[4]">
  186. <div class="part3_left_content_top">
  187. <div class="content_top_left">
  188. <div class="part3_photo_text" v-for="(item, index) in pageData[4].data"
  189. :key="index">
  190. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  191. <img :src="item.imgurl" alt="item.title">
  192. <span class="part3_text">{{ item.title }}</span>
  193. </NuxtLink>
  194. <span class="littleTips">精选</span>
  195. </div>
  196. <ul class="part3_content">
  197. <li class="part3_content_list" v-for="(item, index) in pageData[4].data1"
  198. :key="index">
  199. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  200. {{ item.title }}
  201. </NuxtLink>
  202. </li>
  203. </ul>
  204. </div>
  205. <ul class="content_top_right">
  206. <li class="content_right_list" v-for="(item, index) in pageData[4].data1"
  207. :key="index">
  208. <NuxtLink to="#">
  209. <div class="part3_time">
  210. <span class="month">{{ getTime(item.updated_at, 'day', 1) }}</span>
  211. <span class="xiegang">/</span>
  212. <span class="day">{{ getTime(item.updated_at, 'month', 1) }}</span>
  213. </div>
  214. <div class="time_left_content">
  215. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  216. {{ item.title }}
  217. </NuxtLink>
  218. </div>
  219. </NuxtLink>
  220. </li>
  221. </ul>
  222. </div>
  223. </div>
  224. </div>
  225. <div class="part3_left_bottom" v-if="pageData[5] || pageData[6]">
  226. <div class="part3_leftTitle1">
  227. <h2 class="part3_left_title" v-if="pageData[5]" @mouseenter="tabsData = 1"
  228. :class="{ part3_left_title_active: tabsData == 1 }">
  229. <NuxtLink :href="getLinkPath(pageData[5])" @mouseenter="tabsData = 1"
  230. :class="{ active: tabsData == 1 }" :title="pageData[5].alias">
  231. {{ pageData[5].alias }}
  232. </NuxtLink>
  233. <em></em>
  234. </h2>
  235. <h2 class="part3_left_title" v-if="pageData[6]" @mouseenter="tabsData = 2"
  236. :class="{ part3_left_title_active: tabsData == 2 }">
  237. <NuxtLink :href="getLinkPath(pageData[6])" v-if="pageData[6]" @mouseenter="tabsData = 2"
  238. :class="{ active: tabsData == 2 }" :title="pageData[6].alias">
  239. {{ pageData[6].alias }}
  240. </NuxtLink>
  241. <em></em>
  242. </h2>
  243. </div>
  244. <div class="part3_left_content1" v-if="tabsData == 1">
  245. <div class="content_bottom_left">
  246. <div class="content_top" v-for="(item, index) in pageData[5].data" :key="index">
  247. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  248. <img :src="item.imgurl" alt="item.title">
  249. <span class="part3_text">{{ item.title }}</span>
  250. </NuxtLink>
  251. </div>
  252. <div class="content_bottom">
  253. <div class="content_bottom_1" v-for="(item, index) in pageData[5].data1"
  254. :key="index">
  255. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  256. <img :src="item.imgurl" alt="item.title">
  257. <span class="part3_text">{{ item.title }}</span>
  258. </NuxtLink>
  259. </div>
  260. </div>
  261. </div>
  262. <div class="content_bottom_right">
  263. <ul class="bottom_content_1">
  264. <li class="bottom_content_list" v-for="(item, index) in pageData[5].data2"
  265. :key="index">
  266. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  267. {{ item.title }}
  268. </NuxtLink>
  269. </li>
  270. </ul>
  271. </div>
  272. </div>
  273. <div class="part3_left_content1" v-if="tabsData == 2 && pageData[6].alias">
  274. <div class="content_bottom_left">
  275. <div class="content_top" v-for="(item, index) in pageData[6].data" :key="index">
  276. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  277. <img :src="item.imgurl" alt="item.title">
  278. <span class="part3_text">{{ item.title }}</span>
  279. </NuxtLink>
  280. </div>
  281. <div class="content_bottom">
  282. <div class="content_bottom_1" v-for="(item, index) in pageData[6].data1"
  283. :key="index">
  284. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  285. <img :src="item.imgurl" alt="item.title">
  286. <span class="part3_text">{{ item.title }}</span>
  287. </NuxtLink>
  288. </div>
  289. </div>
  290. </div>
  291. <div class="content_bottom_right">
  292. <ul class="bottom_content_1">
  293. <li class="bottom_content_list" v-for="(item, index) in pageData[6].data2"
  294. :key="index">
  295. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  296. {{ item.title }}
  297. </NuxtLink>
  298. </li>
  299. </ul>
  300. </div>
  301. </div>
  302. </div>
  303. </div>
  304. <div class="part3_right" v-if="pageData[7]">
  305. <div class="part3_rightTitle">
  306. <h2 class="part3_right_title">
  307. <NuxtLink :href="getLinkPath(pageData[7])" v-if="pageData[7]" :title="pageData[7].alias">
  308. {{ pageData[7].alias }}
  309. </NuxtLink>
  310. <em></em>
  311. </h2>
  312. <div class="rightMore">
  313. <NuxtLink to="#">更多》</NuxtLink>
  314. </div>
  315. </div>
  316. <ul class="part3_right_content_top" v-if="pageData[7].data1.length > 0">
  317. <li class="part3_right_contentlist_top" v-for="(item, index) in pageData[7].data1" :key="index">
  318. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  319. <span class="numStyle">{{ index + 1 }}</span>
  320. {{ item.title }}
  321. </NuxtLink>
  322. </li>
  323. </ul>
  324. <div class="part3_photo_text_right" v-if="pageData[7].data[0]">
  325. <NuxtLink :href="getLinkPathDetail(pageData[7].data[0])" :title="pageData[7].data[0].title">
  326. <span class="part3_text11">{{ pageData[7].data[0].title }}</span>
  327. <img :src="pageData[7].data[0].imgurl" :alt="pageData[7].data[0].title">
  328. </NuxtLink>
  329. </div>
  330. <ul class="part3_right_content_11" v-if="pageData[7].data2.length > 0">
  331. <li class="part3_right_contentlist_11" v-for="(item, index) in pageData[7].data2" :key="index">
  332. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  333. {{ item.title }}
  334. </NuxtLink>
  335. </li>
  336. </ul>
  337. <div class="part3_photo_text_right" v-if="pageData[7].data[1]">
  338. <NuxtLink :href="getLinkPathDetail(pageData[7].data[1])" :title="pageData[7].data[1].title">
  339. <span class="part3_text11">{{ pageData[7].data[1].title }}</span>
  340. <img :src="pageData[7].data[1].imgurl" :alt="pageData[7].data[1].title">
  341. </NuxtLink>
  342. </div>
  343. <ul class="part3_right_content_11">
  344. <li class="part3_right_contentlist_11" v-for="(item, index) in pageData[7].data3" :key="index">
  345. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  346. {{ item.title }}
  347. </NuxtLink>
  348. </li>
  349. </ul>
  350. <div class="part3_photo_text_right" v-if="pageData[7].data[2]">
  351. <NuxtLink :href="getLinkPathDetail(pageData[7].data[2])" :title="pageData[7].data[2].title">
  352. <span class="part3_text11">{{ pageData[7].data[2].title }}</span>
  353. <img :src="pageData[7].data[2].imgurl" :alt="pageData[7].data[2].title">
  354. </NuxtLink>
  355. </div>
  356. <ul class="part3_right_content_11">
  357. <li class="part3_right_contentlist_11" v-for="(item, index) in pageData[7].data4" :key="index">
  358. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  359. {{ item.title }}
  360. </NuxtLink>
  361. </li>
  362. </ul>
  363. </div>
  364. </div>
  365. </div>
  366. <!-- 页脚部分 -->
  367. <HomeFoot1></HomeFoot1>
  368. </div>
  369. </template>
  370. <script setup>
  371. //0.加载页面依赖 start ---------------------------------------->
  372. import { ref, onMounted } from 'vue';
  373. //格式化跳转路径 - 标题
  374. //首页分类栏目标题,不需要考虑外链
  375. const getLinkPath = (item) => {
  376. // console.log('item111333',item)
  377. // return `/${item.url}/1.html`;
  378. // return `/newsList/${item.cid}?page=1`;
  379. return `/${item.aLIas_pinyin}/list-1.html`;
  380. }
  381. //首页跳转到详情,这里需要考虑外链
  382. const getLinkPathDetail = (item) => {
  383. // console.log('item111222', item)
  384. if (item.islink == 1) {
  385. return `${item.linkurl}`;
  386. } else {
  387. //return `/${item.aLIas_pinyin}/${item.id}`;
  388. // return `/newsDetail/${item.id}?page=1`
  389. return `/${item.pinyin}/${item.id}.html`;
  390. }
  391. }
  392. //0.加载页面依赖 end ---------------------------------------->
  393. //1.获得路由id start ---------------------------------------->
  394. const route = useRoute();
  395. //获得当前的完整路径
  396. const fullPath = route.path;
  397. //拆分,取出来中间这一段,然后提取数字部分
  398. const segments = fullPath.split('/');
  399. const targetSegment = segments[1];
  400. //let routeId = 11 //排除路径错误可以打开这个
  401. //const numberPart = targetSegment.match(/\d+$/)?.[0];
  402. //let routeId = numberPart;
  403. let routeId;
  404. //通过导航路径反向查询导航id
  405. const getRouteId = await requestDataPromise('/web/getWebsiteRoute', {
  406. method: 'GET',
  407. query: {
  408. 'pinyin': targetSegment,
  409. },
  410. });
  411. if (getRouteId.code == 200) {
  412. routeId = getRouteId.data.category_id
  413. } else {
  414. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  415. console.log("错误位置:通过url路径查询导航池id")
  416. console.log("后端错误反馈:", getRouteId.message)
  417. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  418. }
  419. //1.获得路由id end ---------------------------------------->
  420. //2.页面交互效果 start ---------------------------------------->
  421. //2.1
  422. const title = ref("")
  423. const tabsData = ref(1)
  424. async function getPageDataTitle() {
  425. const mkdata = await requestDataPromise('/web/getOneWebsiteCategory', {
  426. method: 'GET',
  427. query: {
  428. 'catid': routeId,
  429. },
  430. });
  431. if (mkdata.code == 200) {
  432. title.value = mkdata.data.alias;
  433. } else {
  434. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  435. console.log("错误位置:获取二级标题")
  436. console.log("后端错误反馈:", mkdata.message)
  437. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  438. }
  439. }
  440. getPageDataTitle();
  441. //2.1 新闻图片切换
  442. const hoverStatus = ref(0)
  443. const qhPic = function (num) {
  444. console.log(num)
  445. hoverStatus.value = num;
  446. }
  447. //2.2 选项卡切换
  448. let showTabs = ref(1)
  449. let qhtabs = function (number) {
  450. console.log(number)
  451. showTabs.value = number
  452. }
  453. //2.3 展示广告
  454. let adImg1 = ref({})
  455. let adImg2 = ref({})
  456. let adImg3 = ref({})
  457. let adImg4 = ref({})
  458. onMounted(async () => {
  459. //从客户端获取行政职能部门 加快打开速度
  460. const { $webUrl, $CwebUrl } = useNuxtApp();
  461. //广告1
  462. let url = `${$webUrl}/web/getWebsiteAdvertisement?ad_tag=xcw_category_0001`
  463. const responseAd1 = await fetch(url, {
  464. headers: {
  465. 'Content-Type': 'application/json',
  466. 'Userurl': $CwebUrl,
  467. 'Origin': $CwebUrl
  468. }
  469. });
  470. const resultAd1 = await responseAd1.json();
  471. adImg1.value = resultAd1.data[0];
  472. //广告2
  473. let url2 = `${$webUrl}/web/getWebsiteAdvertisement?ad_tag=xcw_category_0002`
  474. const responseAd2 = await fetch(url2, {
  475. headers: {
  476. 'Content-Type': 'application/json',
  477. 'Userurl': $CwebUrl,
  478. 'Origin': $CwebUrl
  479. }
  480. });
  481. const resultAd2 = await responseAd2.json();
  482. adImg2.value = resultAd2.data[0];
  483. //广告3
  484. let url3 = `${$webUrl}/web/getWebsiteAdvertisement?ad_tag=xcw_category_0003`
  485. const responseAd3 = await fetch(url3, {
  486. headers: {
  487. 'Content-Type': 'application/json',
  488. 'Userurl': $CwebUrl,
  489. 'Origin': $CwebUrl
  490. }
  491. });
  492. const resultAd3 = await responseAd3.json();
  493. adImg3.value = resultAd3.data[0];
  494. //广告4
  495. let url4 = `${$webUrl}/web/getWebsiteAdvertisement?ad_tag=xcw_category_0004`
  496. const responseAd4 = await fetch(url4, {
  497. headers: {
  498. 'Content-Type': 'application/json',
  499. 'Userurl': $CwebUrl,
  500. 'Origin': $CwebUrl
  501. }
  502. });
  503. const resultAd4 = await responseAd4.json();
  504. adImg4.value = resultAd4.data[0];
  505. })
  506. //2.页面交互效果 end ---------------------------------------->
  507. //3.渲染页面数据 start ---------------------------------------->
  508. //3.1 该页面上所有的导航池 转为动态数据
  509. const pageCategory = ref([]);
  510. //3.2 该页面上需要渲染的所有数据
  511. const pageData = ref([
  512. // { id: 0, data: [], data2: [], title: "", cid: "" },
  513. // { id: 1, data: [], title: "", cid: "" },
  514. // { id: 2, data: [], title: "", cid: "" },
  515. // { id: 3, data: [], title: "", cid: "" },
  516. // { id: 4, data: [], title: "", cid: "" },
  517. // { id: 5, data: [], title: "", cid: "" },
  518. // { id: 6, data: [], title: "", cid: "" },
  519. // { id: 7, data: [], title: "", cid: "" },
  520. // { id: 8, data: [], title: "", cid: "" },
  521. ])
  522. const navSize = ref("");
  523. //3.3 获取所有导航
  524. try {
  525. const navigateData = await requestDataPromise('/web/getWebsiteModelCategory', {
  526. method: 'GET',
  527. query: {
  528. 'placeid': 1,
  529. 'pid': routeId,
  530. 'num': 8
  531. },
  532. });
  533. if (navigateData.code == 200) {
  534. // 遍历可用的导航池放到页面中
  535. for (let index in navigateData.data) {
  536. let data = {
  537. title: navigateData.data[index].name,
  538. cid: navigateData.data[index].category_id,
  539. children_count: navigateData.data[index].children_count,
  540. alias: navigateData.data[index].alias,
  541. aLIas_pinyin: targetSegment + "/" + navigateData.data[index].aLIas_pinyin,
  542. data: [],
  543. data1: [],
  544. data2: [],
  545. data3: [],
  546. data4: [],
  547. category_id1: "",
  548. category_id2: "",
  549. category_id3: "",
  550. category_id4: "",
  551. title1: "",
  552. title2: "",
  553. title3: "",
  554. title4: ""
  555. };
  556. if (navigateData.data[index].is_url == 1) {
  557. // 处理 URL 的逻辑
  558. } else {
  559. //每个页面最多8个模块
  560. pageData.value.push(data);
  561. }
  562. }
  563. //导航池加载完毕,开始申请模块数据
  564. // await getPageData1();
  565. // await getPageData2();
  566. // await getPageData3();
  567. // await getPageData4();
  568. // await getPageData5();
  569. // await getPageData6();
  570. // await getPageData7();
  571. // await getPageData8();
  572. let getJson = [
  573. { "parent": routeId + ",0,0", "child": pageData.value[0].cid + ",3,10" },//模块1理论前沿
  574. { "parent": routeId + ",0,0", "child": pageData.value[1].cid + ",2,6" },//模块2典型经验
  575. { "parent": routeId + ",0,0", "child": pageData.value[2].cid + ",3,10" },//模块3农业天地
  576. { "parent": routeId + ",0,0", "child": pageData.value[3].cid + ",2,6" },//模块4美丽乡村
  577. { "parent": routeId + ",0,0", "child": pageData.value[4].cid + ",1,10" },//模块5农民之家
  578. { "parent": routeId + ",0,0", "child": pageData.value[5].cid + ",3,10" },//模块6农业天地
  579. { "parent": routeId + ",0,0", "child": pageData.value[6].cid + ",3,10" },//模块7农村建设
  580. { "parent": routeId + ",0,0", "child": pageData.value[7].cid + ",3,13" },//模块8高端资讯
  581. ]
  582. let jsonString = JSON.stringify(getJson);
  583. getPageAllData(jsonString);
  584. } else {
  585. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  586. console.log("错误位置:分类页导航池")
  587. console.log("后端错误反馈:", navigateData.message)
  588. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  589. }
  590. } catch (error) {
  591. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  592. console.log("错误位置:分类页导航渲染阶段")
  593. console.log("错误:导航池渲染执行接口出错!请检查首页的14的模块的具体执行方法!")
  594. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  595. }
  596. async function getPageAllData(jsonString) {
  597. const mkdata = await requestDataPromise('/web/getWebsiteAllArticle', {
  598. method: 'GET',
  599. query: {
  600. 'id': jsonString
  601. },
  602. });
  603. if (mkdata.code == 200) {
  604. console.log(778899)
  605. console.log(mkdata.data)
  606. //模块1理论前沿
  607. if (mkdata.data[0].child.imgnum.length > 0) {
  608. pageData.value[0].data.push(mkdata.data[0].child.imgnum[0]);
  609. }
  610. if (mkdata.data[0].child.imgnum.length > 1) {
  611. pageData.value[0].data1.push(mkdata.data[0].child.imgnum[1]);
  612. }
  613. if (mkdata.data[0].child.imgnum.length > 2) {
  614. pageData.value[0].data1.push(mkdata.data[0].child.imgnum[2]);
  615. }
  616. pageData.value[0].data2 = mkdata.data[0].child.textnum;
  617. //模块2典型经验
  618. pageData.value[1].data = mkdata.data[1].child.imgnum;
  619. pageData.value[1].data1 = mkdata.data[1].child.textnum;
  620. //模块3农业天地
  621. if (mkdata.data[2].child.imgnum.length > 0) {
  622. pageData.value[2].data.push(mkdata.data[2].child.imgnum[0]);
  623. }
  624. if (mkdata.data[2].child.imgnum.length > 1) {
  625. pageData.value[2].data1.push(mkdata.data[2].child.imgnum[1]);
  626. }
  627. if (mkdata.data[2].child.imgnum.length > 2) {
  628. pageData.value[2].data1.push(mkdata.data[2].child.imgnum[2]);
  629. }
  630. pageData.value[2].data2 = mkdata.data[2].child.textnum;
  631. //模块4美丽乡村
  632. pageData.value[3].data = mkdata.data[3].child.imgnum;
  633. pageData.value[3].data2 = mkdata.data[3].child.textnum;
  634. //模块5农民之家
  635. pageData.value[4].data = mkdata.data[4].child.imgnum;
  636. for (let i in mkdata.data[4].child.textnum) {
  637. if (i < 5) {
  638. pageData.value[4].data1.push(mkdata.data[4].child.textnum[i]);
  639. } else {
  640. pageData.value[4].data2.push(mkdata.data[4].child.textnum[i]);
  641. }
  642. }
  643. //模块6农业天地
  644. if (mkdata.data[5].child.imgnum.length > 0) {
  645. pageData.value[5].data.push(mkdata.data[5].child.imgnum[0]);
  646. }
  647. if (mkdata.data[5].child.imgnum.length > 1) {
  648. pageData.value[5].data1.push(mkdata.data[5].child.imgnum[1]);
  649. }
  650. if (mkdata.data[5].child.imgnum.length > 2) {
  651. pageData.value[5].data1.push(mkdata.data[5].child.imgnum[2]);
  652. }
  653. pageData.value[5].data2 = mkdata.data[5].child.textnum;
  654. //模块7农村建设
  655. if (mkdata.data[6].child.imgnum.length > 0) {
  656. pageData.value[6].data.push(mkdata.data[6].child.imgnum[0]);
  657. }
  658. if (mkdata.data[6].child.imgnum.length > 1) {
  659. pageData.value[6].data1.push(mkdata.data[6].child.imgnum[1]);
  660. }
  661. if (mkdata.data[6].child.imgnum.length > 2) {
  662. pageData.value[6].data1.push(mkdata.data[6].child.imgnum[2]);
  663. }
  664. pageData.value[6].data2 = mkdata.data[6].child.textnum;
  665. //模块8高端资讯
  666. pageData.value[7].data2 = mkdata.data[7].child.imgnum;
  667. for (let i in mkdata.data[4].child.textnum) {
  668. if (i < 7) {
  669. pageData.value[7].data1.push(mkdata.data[4].child.textnum[i]);
  670. } else if (i < 9) {
  671. pageData.value[7].data2.push(mkdata.data[4].child.textnum[i]);
  672. } else if (i < 11) {
  673. pageData.value[7].data3.push(mkdata.data[4].child.textnum[i]);
  674. } else {
  675. pageData.value[7].data4.push(mkdata.data[4].child.textnum[i]);
  676. }
  677. }
  678. } else {
  679. ElMessage.error(mkdata.message)
  680. }
  681. }
  682. //获得模块数据
  683. // async function getPageData(catid, img_num, text_num, modulesNum, childNavNum, childImgNum, childTextNum) {
  684. // const mkdata = await requestDataPromise('/web/getWebsiteCatidArticle', {
  685. // method: 'GET',
  686. // query: {
  687. // 'catid': catid, //catid
  688. // 'img_num': img_num, //图片数量
  689. // 'text_num': text_num, //文字数量
  690. // 'child_catnum': childNavNum,//子级栏目菜单数量
  691. // 'child_imgnum': childImgNum,//子栏目展示图片新闻数量
  692. // 'child_textnum': childTextNum//子栏目展示文字新闻数量
  693. // },
  694. // });
  695. // if (modulesNum == 1) {
  696. // for (let i in mkdata.data.img) {
  697. // if (i < 1) {
  698. // pageData.value[0].data.push(mkdata.data.img[i]);
  699. // } else {
  700. // pageData.value[0].data1.push(mkdata.data.img[i]);
  701. // }
  702. // }
  703. // pageData.value[0].data2 = mkdata.data.text;
  704. // }
  705. // if (modulesNum == 2) {
  706. // pageData.value[1].data = mkdata.data.img;
  707. // pageData.value[1].data1 = mkdata.data.text;
  708. // }
  709. // if (modulesNum == 3) {
  710. // for (let i in mkdata.data.img) {
  711. // if (i < 1) {
  712. // pageData.value[2].data.push(mkdata.data.img[i]);
  713. // } else {
  714. // pageData.value[2].data1.push(mkdata.data.img[i]);
  715. // }
  716. // }
  717. // pageData.value[2].data2 = mkdata.data.text;
  718. // }
  719. // if (modulesNum == 4) {
  720. // pageData.value[3].data = mkdata.data.img;
  721. // pageData.value[3].data2 = mkdata.data.text;
  722. // }
  723. // //模块5
  724. // if (modulesNum == 5) {
  725. // pageData.value[4].data = mkdata.data.img;
  726. // for (let i in mkdata.data.text) {
  727. // if (i < 5) {
  728. // pageData.value[4].data1.push(mkdata.data.text[i]);
  729. // } else {
  730. // pageData.value[4].data2.push(mkdata.data.text[i]);
  731. // }
  732. // }
  733. // }
  734. // if (modulesNum == 6) {
  735. // for (let i in mkdata.data.img) {
  736. // if (i < 1) {
  737. // pageData.value[5].data.push(mkdata.data.img[i]);
  738. // } else {
  739. // pageData.value[5].data1.push(mkdata.data.img[i]);
  740. // }
  741. // }
  742. // pageData.value[5].data2 = mkdata.data.text;
  743. // }
  744. // if (modulesNum == 7) {
  745. // for (let i in mkdata.data.img) {
  746. // if (i < 1) {
  747. // pageData.value[6].data.push(mkdata.data.img[i]);
  748. // } else {
  749. // pageData.value[6].data1.push(mkdata.data.img[i]);
  750. // }
  751. // }
  752. // pageData.value[6].data2 = mkdata.data.text;
  753. // }
  754. // //模块8
  755. // if (modulesNum == 8) {
  756. // pageData.value[7].data = mkdata.data.img;
  757. // for (let i in mkdata.data.text) {
  758. // if (i < 7) {
  759. // pageData.value[7].data1.push(mkdata.data.text[i]);
  760. // } else if (i < 9) {
  761. // pageData.value[7].data2.push(mkdata.data.text[i]);
  762. // } else if (i < 11) {
  763. // pageData.value[7].data3.push(mkdata.data.text[i]);
  764. // } else {
  765. // pageData.value[7].data4.push(mkdata.data.text[i]);
  766. // }
  767. // }
  768. // }
  769. // }
  770. //新农村
  771. //模块1 理论前沿
  772. // async function getPageData1() {
  773. // await getPageData(pageData.value[0].cid, 3, 10, 1, 0, 0, 0);
  774. // }
  775. // //模块2 典型经验
  776. // async function getPageData2() {
  777. // await getPageData(pageData.value[1].cid, 2, 6, 2, 0, 0, 0);
  778. // }
  779. // //模块3 农业天地
  780. // async function getPageData3() {
  781. // await getPageData(pageData.value[2].cid, 3, 10, 3, 0, 0, 0);
  782. // }
  783. // //模块4 美丽乡村
  784. // async function getPageData4() {
  785. // await getPageData(pageData.value[3].cid, 2, 6, 4, 0, 0, 0);
  786. // }
  787. // //模块5 农民之家
  788. // async function getPageData5() {
  789. // await getPageData(pageData.value[4].cid, 1, 10, 5, 0, 0, 0);
  790. // }
  791. // //模块6 农业天地
  792. // async function getPageData6() {
  793. // await getPageData(pageData.value[5].cid, 3, 10, 6, 0, 0, 0);
  794. // }
  795. // //模块7 农村建设
  796. // async function getPageData7() {
  797. // await getPageData(pageData.value[6].cid, 3, 10, 7, 0, 0, 0);
  798. // }
  799. // //模块8 高端资讯
  800. // async function getPageData8() {
  801. // await getPageData(pageData.value[7].cid, 3, 13, 8, 0, 0, 0);
  802. // }
  803. // 注意,为了保持模块的数量,当前固定为8个
  804. // 所以这里的农业天地,合并了原来是下面的7号模块
  805. // 而原本是7号模块的地方现在变成了8号模块
  806. //3.渲染页面数据 end ---------------------------------------->
  807. //4.设置seo信息 start---------------------------------------->
  808. //4.1 设置seo信息
  809. const setData = await requestDataPromise('/web/getWebsiteCategoryHead', {
  810. method: 'GET',
  811. query: {
  812. 'catid': routeId
  813. },
  814. });
  815. if (setData.code == 200) {
  816. let seoTitle = setData.data.seo_title;
  817. let seoDescription = setData.data.seo_description;
  818. let seoKeywords = setData.data.seo_keywords;
  819. let seoSuffix = setData.data.suffix;
  820. let seoName = setData.data.website_name;
  821. useSeoMeta({
  822. title: seoTitle + "_" + seoSuffix,
  823. meta: [
  824. { name: 'description', content: seoDescription + "_" + seoName + "_" + seoSuffix, tagPriority: 10 },
  825. { name: 'keywords', content: seoKeywords + "_" + seoName + "_" + seoSuffix, tagPriority: 10 }
  826. ]
  827. });
  828. } else {
  829. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  830. console.log("错误位置:设置分类页面SEO数据")
  831. console.log("后端错误反馈:", setData.message)
  832. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  833. }
  834. //4.设置seo信息 end---------------------------------------->
  835. //5. 获取日期中单独的年 月 日 start--------------------------->
  836. function getTime(date, part, digits) {
  837. const d = new Date(date);
  838. if (part === 'year') {
  839. let year = d.getFullYear();
  840. if (digits === 2) {
  841. return String(year).slice(-2);
  842. }
  843. return year;
  844. } else if (part === 'month') {
  845. let month = d.getMonth() + 1;
  846. if (digits === 2) {
  847. return String(month).padStart(2, '0');
  848. }
  849. if (month < 10) {
  850. month = '0' + month;
  851. } else {
  852. month = month;
  853. }
  854. return month;
  855. } else if (part === 'day') {
  856. let day = d.getDate();
  857. if (digits === 2) {
  858. return String(day).padStart(2, '0');
  859. }
  860. return day;
  861. }
  862. return null;
  863. }
  864. //5. 获取日期中单独的年 月 日 end------------------------------>
  865. </script>
  866. <style lang="less" scoped>
  867. // 一级标题
  868. .nav1 {
  869. width: 100%;
  870. height: 214px;
  871. background: #fff;
  872. .inner {
  873. width: 1200px;
  874. height: 214px;
  875. margin: 0 auto;
  876. .nav1_title {
  877. width: 1120px;
  878. height: 214px;
  879. margin-left: 40px;
  880. line-height: 217px;
  881. text-align: center;
  882. font-family: DingTalk JinBuTi, DingTalk JinBuTi;
  883. font-weight: 400;
  884. font-size: 50px;
  885. color: #6D2512;
  886. background: url(/_nuxt/public/index/title_bg.png) no-repeat 0;
  887. }
  888. }
  889. }
  890. .nav2top {
  891. width: 1250px;
  892. height: 3px;
  893. margin: 0 auto;
  894. background-color: #a01c0e;
  895. }
  896. .nav2btm {
  897. width: 1200px;
  898. height: 3px;
  899. margin: 0 auto;
  900. background-color: #a01c0e;
  901. }
  902. .nav2 {
  903. width: 100%;
  904. height: 48px;
  905. background-color: #a01c0e;
  906. .inner {
  907. width: 1250px;
  908. height: 48px;
  909. line-height: 48px;
  910. padding: 0 45px;
  911. margin: 0 auto;
  912. box-sizing: border-box;
  913. display: flex;
  914. // justify-content: space-between;
  915. .titleList {
  916. font-family: Microsoft YaHei, Microsoft YaHei;
  917. font-weight: bold;
  918. font-size: 14px;
  919. color: #FFFFFF;
  920. .nav2_title {
  921. display: inline-block;
  922. font-family: Microsoft YaHei, Microsoft YaHei;
  923. font-weight: bold;
  924. font-size: 14px;
  925. color: #FFFFFF;
  926. }
  927. a {
  928. padding: 0 38px;
  929. color: #FFFFFF;
  930. border-left: 1px solid #7E1C11;
  931. }
  932. //鼠标点击后的样式
  933. .nav2_title_active {
  934. display: inline-block;
  935. font-family: Microsoft YaHei, Microsoft YaHei;
  936. font-weight: bold;
  937. font-size: 14px;
  938. color: #FFFFFF;
  939. border-bottom: 1px solid #FFFFFF;
  940. }
  941. }
  942. .titleList:hover {
  943. a {
  944. color: #a01c0e;
  945. .nav2_title {
  946. border-bottom: 1px solid #FFFFFF;
  947. }
  948. }
  949. }
  950. .home {
  951. width: 100px;
  952. font-family: Microsoft YaHei, Microsoft YaHei;
  953. font-weight: bold;
  954. font-size: 14px;
  955. color: #F8ECD2;
  956. }
  957. }
  958. }
  959. //第一部分
  960. .part1 {
  961. width: 100%;
  962. height: 585px;
  963. margin-top: 35px;
  964. .inner {
  965. width: 1200px;
  966. margin: 0 auto;
  967. .part1_left {
  968. float: left;
  969. width: 720px;
  970. .part1_title {
  971. width: 720px;
  972. height: 50px;
  973. line-height: 50px;
  974. .nav_part1_left {
  975. float: left;
  976. font-family: Microsoft YaHei, Microsoft YaHei;
  977. font-weight: 400;
  978. font-size: 20px;
  979. color: #333333;
  980. position: relative;
  981. a {
  982. color: #333333;
  983. }
  984. em {
  985. display: inline-block;
  986. width: 8px;
  987. height: 8px;
  988. background-color: #a01c0e;
  989. border-radius: 4px;
  990. position: absolute;
  991. top: 5px;
  992. }
  993. }
  994. }
  995. .part1_content {
  996. width: 720px;
  997. margin-top: 20px;
  998. .context_left {
  999. float: left;
  1000. width: 350px;
  1001. .top {
  1002. width: 350px;
  1003. img {
  1004. width: 350px;
  1005. height: 230px;
  1006. }
  1007. a .title1 {
  1008. margin-top: 15px;
  1009. width: 350px;
  1010. height: 48px;
  1011. display: -webkit-box;
  1012. -webkit-box-orient: vertical;
  1013. -webkit-line-clamp: 2;
  1014. overflow: hidden;
  1015. text-overflow: ellipsis;
  1016. word-break: break-all;
  1017. font-family: Microsoft YaHei, Microsoft YaHei;
  1018. font-weight: bold;
  1019. font-size: 18px;
  1020. color: #333333;
  1021. }
  1022. }
  1023. .top:hover {
  1024. a .title1 {
  1025. color: #a01c0e;
  1026. }
  1027. }
  1028. .bottom {
  1029. width: 350px;
  1030. margin-top: 25px;
  1031. .bottom_left {
  1032. float: left;
  1033. width: 165px;
  1034. img {
  1035. width: 165px;
  1036. height: 96px;
  1037. }
  1038. a .title2 {
  1039. margin-top: 10px;
  1040. width: 165px;
  1041. height: 48px;
  1042. display: -webkit-box;
  1043. -webkit-box-orient: vertical;
  1044. -webkit-line-clamp: 2;
  1045. overflow: hidden;
  1046. text-overflow: ellipsis;
  1047. word-break: break-all;
  1048. font-family: Microsoft YaHei, Microsoft YaHei;
  1049. font-weight: 400;
  1050. font-size: 18px;
  1051. color: #333333;
  1052. }
  1053. }
  1054. .bottom_left:first-child {
  1055. margin-right: 20px;
  1056. }
  1057. }
  1058. .bottom_left:hover {
  1059. a .title2 {
  1060. color: #a01c0e;
  1061. }
  1062. }
  1063. }
  1064. .context_right {
  1065. float: right;
  1066. width: 350px;
  1067. .rightContent {
  1068. width: 350px;
  1069. height: 230px;
  1070. .context1:nth-child(5n+1) {
  1071. width: 345px;
  1072. white-space: nowrap;
  1073. overflow: hidden;
  1074. text-overflow: ellipsis;
  1075. font-family: Microsoft YaHei, Microsoft YaHei;
  1076. font-weight: bold;
  1077. font-size: 18px;
  1078. color: #333333;
  1079. a {
  1080. color: #333333;
  1081. }
  1082. }
  1083. .context1:nth-child(5n+1):hover a {
  1084. color: #a01c0e;
  1085. }
  1086. .context1 {
  1087. margin-bottom: 27px;
  1088. width: 345px;
  1089. white-space: nowrap;
  1090. overflow: hidden;
  1091. text-overflow: ellipsis;
  1092. font-family: Microsoft YaHei, Microsoft YaHei;
  1093. font-weight: 400;
  1094. font-size: 18px;
  1095. color: #333333;
  1096. a {
  1097. color: #333333;
  1098. }
  1099. }
  1100. .context1:hover a {
  1101. color: #a01c0e;
  1102. }
  1103. }
  1104. }
  1105. }
  1106. }
  1107. .part1_right {
  1108. float: right;
  1109. width: 450px;
  1110. // height: 1000px;
  1111. .part1_right_title {
  1112. width: 450px;
  1113. height: 50px;
  1114. line-height: 50px;
  1115. .part1_right_title1_active {
  1116. float: left;
  1117. margin-right: 40px;
  1118. font-family: Microsoft YaHei, Microsoft YaHei;
  1119. font-weight: 400;
  1120. font-size: 20px;
  1121. color: #333333;
  1122. position: relative;
  1123. a {
  1124. color: #333333;
  1125. }
  1126. .active_bg {
  1127. display: inline-block;
  1128. width: 8px;
  1129. height: 8px;
  1130. background-color: #a01c0e;
  1131. border-radius: 4px;
  1132. position: absolute;
  1133. top: 7px;
  1134. right: -5px;
  1135. }
  1136. }
  1137. .part1_right_title1 {
  1138. float: left;
  1139. margin-right: 40px;
  1140. font-family: Microsoft YaHei, Microsoft YaHei;
  1141. font-weight: 400;
  1142. font-size: 20px;
  1143. color: #999999;
  1144. position: relative;
  1145. a {
  1146. color: #999999;
  1147. }
  1148. }
  1149. }
  1150. .part1_right_content {
  1151. width: 450px;
  1152. // height: 940px;
  1153. margin-top: 20px;
  1154. .part1_right_top11 {
  1155. width: 450px;
  1156. height: 180px;
  1157. position: relative;
  1158. .part1_right_content_top {
  1159. float: left;
  1160. width: 220px;
  1161. height: 180px;
  1162. a img {
  1163. width: 220px;
  1164. height: 130px;
  1165. }
  1166. a .content_top_title2 {
  1167. display: inline-block;
  1168. width: 220px;
  1169. padding: 0 10px;
  1170. box-sizing: border-box;
  1171. white-space: nowrap;
  1172. overflow: hidden;
  1173. text-overflow: ellipsis;
  1174. font-family: Microsoft YaHei, Microsoft YaHei;
  1175. font-weight: 400;
  1176. font-size: 18px;
  1177. color: #333333;
  1178. margin-top: 10px;
  1179. }
  1180. }
  1181. .part1_right_content_top:hover {
  1182. a .content_top_title2 {
  1183. color: #a01c0e;
  1184. }
  1185. }
  1186. .part1_right_content_top:nth-child(2) {
  1187. margin-left: 10px;
  1188. }
  1189. }
  1190. .part1_right_content_bottom {
  1191. width: 450px;
  1192. height: 300px;
  1193. margin-top: 15px;
  1194. overflow: hidden;
  1195. .content_bottom_list {
  1196. width: 450px;
  1197. height: 22px;
  1198. line-height: 21px;
  1199. white-space: nowrap;
  1200. overflow: hidden;
  1201. text-overflow: ellipsis;
  1202. margin-bottom: 28px;
  1203. font-family: Microsoft YaHei, Microsoft YaHei;
  1204. font-weight: 400;
  1205. font-size: 18px;
  1206. color: #333333;
  1207. a {
  1208. color: #333333;
  1209. }
  1210. }
  1211. .content_bottom_list:hover {
  1212. a {
  1213. color: #a01c0e;
  1214. }
  1215. }
  1216. }
  1217. }
  1218. }
  1219. }
  1220. }
  1221. //第二部分
  1222. .part2 {
  1223. width: 100%;
  1224. overflow: hidden;
  1225. // margin-bottom: 40px;
  1226. .inner {
  1227. width: 1200px;
  1228. margin: 0 auto;
  1229. .part2_left {
  1230. float: left;
  1231. width: 720px;
  1232. .part2_title {
  1233. width: 720px;
  1234. height: 50px;
  1235. line-height: 50px;
  1236. .nav_part2_left {
  1237. float: left;
  1238. width: 100px;
  1239. font-family: Microsoft YaHei, Microsoft YaHei;
  1240. font-weight: 400;
  1241. font-size: 20px;
  1242. color: #333333;
  1243. position: relative;
  1244. a {
  1245. color: #333333;
  1246. }
  1247. em {
  1248. display: inline-block;
  1249. width: 8px;
  1250. height: 8px;
  1251. background-color: #a01c0e;
  1252. border-radius: 4px;
  1253. position: absolute;
  1254. top: 9px;
  1255. right: 6px;
  1256. }
  1257. }
  1258. }
  1259. .part2_content {
  1260. width: 720px;
  1261. margin-top: 20px;
  1262. .part2_content_left {
  1263. float: left;
  1264. width: 350px;
  1265. .content_a {
  1266. width: 350px;
  1267. height: 230px;
  1268. // margin-bottom: 25px;
  1269. .context111:nth-child(5n+1) {
  1270. width: 345px;
  1271. white-space: nowrap;
  1272. overflow: hidden;
  1273. text-overflow: ellipsis;
  1274. font-family: Microsoft YaHei, Microsoft YaHei;
  1275. font-weight: bold;
  1276. font-size: 18px;
  1277. color: #333333;
  1278. a {
  1279. color: #333333;
  1280. }
  1281. }
  1282. .context111 {
  1283. margin-bottom: 27px;
  1284. width: 345px;
  1285. white-space: nowrap;
  1286. overflow: hidden;
  1287. text-overflow: ellipsis;
  1288. font-family: Microsoft YaHei, Microsoft YaHei;
  1289. font-weight: 400;
  1290. font-size: 18px;
  1291. color: #333333;
  1292. a {
  1293. color: #333333;
  1294. }
  1295. }
  1296. .context111:hover a {
  1297. color: #a01c0e;
  1298. }
  1299. }
  1300. }
  1301. .part2_content_right {
  1302. float: right;
  1303. width: 350px;
  1304. height: 480px;
  1305. .right_top {
  1306. width: 350px;
  1307. height: 300px;
  1308. a img {
  1309. width: 350px;
  1310. height: 230px;
  1311. }
  1312. a .title11 {
  1313. margin-top: 15px;
  1314. width: 350px;
  1315. height: 48px;
  1316. display: -webkit-box;
  1317. -webkit-box-orient: vertical;
  1318. -webkit-line-clamp: 2;
  1319. overflow: hidden;
  1320. text-overflow: ellipsis;
  1321. word-break: break-all;
  1322. font-family: Microsoft YaHei, Microsoft YaHei;
  1323. font-weight: bold;
  1324. font-size: 18px;
  1325. color: #333333;
  1326. }
  1327. }
  1328. .right_top:hover {
  1329. color: #a01c0e;
  1330. a .title11 {
  1331. color: #a01c0e;
  1332. }
  1333. }
  1334. .right_bottom {
  1335. width: 350px;
  1336. height: 165px;
  1337. margin-top: 20px;
  1338. .bottom_left {
  1339. float: left;
  1340. width: 165px;
  1341. height: 130px;
  1342. a img {
  1343. width: 165px;
  1344. height: 96px;
  1345. }
  1346. a .title22 {
  1347. margin-top: 10px;
  1348. width: 165px;
  1349. height: 48px;
  1350. display: -webkit-box;
  1351. -webkit-box-orient: vertical;
  1352. -webkit-line-clamp: 2;
  1353. overflow: hidden;
  1354. text-overflow: ellipsis;
  1355. word-break: break-all;
  1356. font-family: Microsoft YaHei, Microsoft YaHei;
  1357. font-weight: 400;
  1358. font-size: 18px;
  1359. color: #333333;
  1360. }
  1361. }
  1362. .bottom_left:hover {
  1363. color: #a01c0e;
  1364. a .title22 {
  1365. color: #a01c0e;
  1366. }
  1367. }
  1368. .bottom_left:first-child {
  1369. margin-right: 20px;
  1370. }
  1371. }
  1372. }
  1373. }
  1374. }
  1375. .part2_right {
  1376. float: right;
  1377. width: 450px;
  1378. // height: 1000px;
  1379. .part2_right_title {
  1380. width: 450px;
  1381. height: 50px;
  1382. line-height: 50px;
  1383. .part2_right_title1_active {
  1384. float: left;
  1385. margin-right: 40px;
  1386. font-family: Microsoft YaHei, Microsoft YaHei;
  1387. font-weight: 400;
  1388. font-size: 20px;
  1389. color: #333333;
  1390. position: relative;
  1391. a {
  1392. color: #333333;
  1393. }
  1394. .active_bg11 {
  1395. display: inline-block;
  1396. width: 8px;
  1397. height: 8px;
  1398. background-color: #a01c0e;
  1399. border-radius: 4px;
  1400. position: absolute;
  1401. top: 7px;
  1402. right: -5px;
  1403. }
  1404. }
  1405. .part2_right_title1 {
  1406. float: left;
  1407. margin-right: 40px;
  1408. font-family: Microsoft YaHei, Microsoft YaHei;
  1409. font-weight: 400;
  1410. font-size: 20px;
  1411. color: #999999;
  1412. position: relative;
  1413. a {
  1414. color: #999999;
  1415. }
  1416. }
  1417. }
  1418. .part2_right_content {
  1419. width: 450px;
  1420. margin-top: 20px;
  1421. .part2_right_top11 {
  1422. width: 450px;
  1423. height: 170px;
  1424. position: relative;
  1425. .part2_right_content_top {
  1426. float: left;
  1427. width: 220px;
  1428. height: 180px;
  1429. a img {
  1430. width: 220px;
  1431. height: 130px;
  1432. }
  1433. a .content_top_title22 {
  1434. display: inline-block;
  1435. width: 220px;
  1436. padding: 0 10px;
  1437. box-sizing: border-box;
  1438. white-space: nowrap;
  1439. overflow: hidden;
  1440. text-overflow: ellipsis;
  1441. font-family: Microsoft YaHei, Microsoft YaHei;
  1442. font-weight: 400;
  1443. font-size: 18px;
  1444. color: #333333;
  1445. margin-top: 10px;
  1446. }
  1447. }
  1448. .part2_right_content_top:hover {
  1449. a .content_top_title22 {
  1450. color: #a01c0e;
  1451. }
  1452. }
  1453. .part2_right_content_top:nth-child(2) {
  1454. margin-left: 10px;
  1455. }
  1456. }
  1457. .part2_right_content_bottom {
  1458. width: 450px;
  1459. height: 300px;
  1460. margin-top: 20px;
  1461. overflow: hidden;
  1462. .content_bottom_list {
  1463. width: 450px;
  1464. height: 22px;
  1465. line-height: 21px;
  1466. white-space: nowrap;
  1467. overflow: hidden;
  1468. text-overflow: ellipsis;
  1469. margin-bottom: 28px;
  1470. font-family: Microsoft YaHei, Microsoft YaHei;
  1471. font-weight: 400;
  1472. font-size: 18px;
  1473. color: #333333;
  1474. a {
  1475. color: #333333;
  1476. }
  1477. }
  1478. .content_bottom_list:hover {
  1479. a {
  1480. color: #a01c0e;
  1481. }
  1482. }
  1483. }
  1484. }
  1485. }
  1486. }
  1487. }
  1488. //第三部分
  1489. .part3 {
  1490. width: 100%;
  1491. overflow: hidden;
  1492. // height: 1200px;
  1493. margin-top: 35px;
  1494. margin-bottom: 40px;
  1495. .inner {
  1496. width: 1200px;
  1497. height: 1200px;
  1498. background-color: #fff;
  1499. .part3_left {
  1500. float: left;
  1501. .part3_left_top {
  1502. width: 720px;
  1503. overflow: hidden;
  1504. .part3_leftTitle {
  1505. width: 720px;
  1506. height: 50px;
  1507. line-height: 50px;
  1508. .part3_left_title:first-child {
  1509. float: left;
  1510. margin-right: 20px;
  1511. width: 100px;
  1512. height: 50px;
  1513. line-height: 50px;
  1514. position: relative;
  1515. font-family: Microsoft YaHei, Microsoft YaHei;
  1516. font-weight: 400;
  1517. font-size: 20px;
  1518. color: #333333;
  1519. a {
  1520. color: #333333;
  1521. }
  1522. em {
  1523. display: inline-block;
  1524. width: 8px;
  1525. height: 8px;
  1526. background-color: #a01c0e;
  1527. border-radius: 4px;
  1528. position: absolute;
  1529. top: 9px;
  1530. right: 6px;
  1531. }
  1532. }
  1533. .part3_left_title {
  1534. float: left;
  1535. margin-right: 20px;
  1536. width: 100px;
  1537. height: 50px;
  1538. line-height: 50px;
  1539. position: relative;
  1540. font-family: Microsoft YaHei, Microsoft YaHei;
  1541. font-weight: 400;
  1542. font-size: 20px;
  1543. color: #999999;
  1544. a {
  1545. color: #999999;
  1546. }
  1547. // em{
  1548. // display: inline-block;
  1549. // width: 8px;
  1550. // height: 8px;
  1551. // background-color: #a01c0e;
  1552. // border-radius: 4px;
  1553. // position: absolute;
  1554. // top: 9px;
  1555. // right: 6px;
  1556. // }
  1557. }
  1558. }
  1559. .part3_left_content {
  1560. width: 720px;
  1561. margin-top: 20px;
  1562. .part3_left_content_top {
  1563. .content_top_left {
  1564. float: left;
  1565. width: 350px;
  1566. height: 484px;
  1567. .part3_photo_text {
  1568. width: 350px;
  1569. height: 280px;
  1570. position: relative;
  1571. img {
  1572. width: 350px;
  1573. height: 230px;
  1574. }
  1575. .littleTips {
  1576. display: inline-block;
  1577. width: 50px;
  1578. height: 26px;
  1579. line-height: 26px;
  1580. text-align: center;
  1581. background-color: #a01c0e;
  1582. font-family: Microsoft YaHei, Microsoft YaHei;
  1583. font-weight: 400;
  1584. font-size: 16px;
  1585. color: #fff;
  1586. position: absolute;
  1587. top: 0;
  1588. right: 10px;
  1589. }
  1590. .part3_text {
  1591. display: inline-block;
  1592. width: 350px;
  1593. height: 26px;
  1594. white-space: nowrap;
  1595. overflow: hidden;
  1596. text-overflow: ellipsis;
  1597. font-family: Microsoft YaHei, Microsoft YaHei;
  1598. font-weight: bold;
  1599. font-size: 18px;
  1600. color: #333333;
  1601. margin-top: 15px;
  1602. }
  1603. }
  1604. .part3_photo_text:hover {
  1605. .part3_text {
  1606. color: #a01c0e;
  1607. }
  1608. }
  1609. .part3_content {
  1610. width: 350px;
  1611. .part3_content_list:first-child {
  1612. width: 350px;
  1613. height: 25px;
  1614. white-space: nowrap;
  1615. overflow: hidden;
  1616. text-overflow: ellipsis;
  1617. font-family: Microsoft YaHei, Microsoft YaHei;
  1618. font-weight: bold;
  1619. font-size: 18px;
  1620. color: #333333;
  1621. line-height: 22px;
  1622. margin-top: 35px;
  1623. a {
  1624. color: #333333;
  1625. }
  1626. }
  1627. .part3_content_list:first-child:hover {
  1628. a {
  1629. color: #a01c0e;
  1630. }
  1631. }
  1632. .part3_content_list:last-child {
  1633. margin-bottom: 0;
  1634. }
  1635. .part3_content_list {
  1636. width: 350px;
  1637. height: 25px;
  1638. white-space: nowrap;
  1639. overflow: hidden;
  1640. text-overflow: ellipsis;
  1641. font-family: Microsoft YaHei, Microsoft YaHei;
  1642. font-weight: 400;
  1643. font-size: 18px;
  1644. color: #333333;
  1645. line-height: 22px;
  1646. margin-bottom: 27px;
  1647. a {
  1648. color: #333333;
  1649. }
  1650. }
  1651. .part3_content_list:hover {
  1652. a {
  1653. color: #a01c0e;
  1654. }
  1655. }
  1656. }
  1657. }
  1658. .content_top_right {
  1659. float: left;
  1660. width: 350px;
  1661. height: 542px;
  1662. border: 1px solid #D9D9D9;
  1663. margin-left: 20px;
  1664. padding: 30px 25px;
  1665. box-sizing: border-box;
  1666. .content_right_list {
  1667. width: 350px;
  1668. height: 58px;
  1669. line-height: 58px;
  1670. margin-bottom: 48px;
  1671. .part3_time {
  1672. float: left;
  1673. width: 77px;
  1674. height: 58px;
  1675. color: #a01c0e;
  1676. .month {
  1677. font-family: Microsoft YaHei, Microsoft YaHei;
  1678. font-weight: 400;
  1679. font-size: 26px;
  1680. color: #A01C0E;
  1681. line-height: 30px;
  1682. }
  1683. .xiegang {
  1684. font-size: 22px;
  1685. font-weight: 400;
  1686. }
  1687. .day {
  1688. font-family: Microsoft YaHei, Microsoft YaHei;
  1689. font-weight: 400;
  1690. font-size: 16px;
  1691. color: #A01C0E;
  1692. line-height: 19px;
  1693. }
  1694. }
  1695. .time_left_content {
  1696. float: left;
  1697. width: 231px;
  1698. height: 58px;
  1699. display: -webkit-box;
  1700. -webkit-box-orient: vertical;
  1701. -webkit-line-clamp: 2;
  1702. overflow: hidden;
  1703. text-overflow: ellipsis;
  1704. word-break: break-all;
  1705. line-height: 22px;
  1706. padding-top: 12px;
  1707. box-sizing: border-box;
  1708. font-family: Microsoft YaHei, Microsoft YaHei;
  1709. font-weight: 400;
  1710. font-size: 18px;
  1711. color: #333333;
  1712. border-left: 1px solid #D9D9D9;
  1713. padding-left: 22px;
  1714. a {
  1715. color: #333333;
  1716. }
  1717. a:hover {
  1718. color: #a01c0e;
  1719. }
  1720. }
  1721. }
  1722. .content_right_list:hover {
  1723. .time_left_content {
  1724. color: #a01c0e;
  1725. }
  1726. }
  1727. }
  1728. }
  1729. }
  1730. }
  1731. .part3_left_bottom {
  1732. width: 720px;
  1733. margin-top: 25px;
  1734. .part3_leftTitle1 {
  1735. width: 720px;
  1736. height: 50px;
  1737. line-height: 50px;
  1738. margin-bottom: 25px;
  1739. .part3_left_title_active {
  1740. float: left;
  1741. margin-right: 20px;
  1742. width: 100px;
  1743. height: 50px;
  1744. line-height: 50px;
  1745. position: relative;
  1746. font-family: Microsoft YaHei, Microsoft YaHei;
  1747. font-weight: 400;
  1748. font-size: 20px;
  1749. color: #333333;
  1750. a.active {
  1751. color: #333333;
  1752. }
  1753. em {
  1754. display: inline-block;
  1755. width: 8px;
  1756. height: 8px;
  1757. background-color: #a01c0e;
  1758. border-radius: 4px;
  1759. position: absolute;
  1760. top: 9px;
  1761. right: 6px;
  1762. }
  1763. }
  1764. .part3_left_title {
  1765. float: left;
  1766. margin-right: 20px;
  1767. width: 100px;
  1768. height: 50px;
  1769. line-height: 50px;
  1770. position: relative;
  1771. font-family: Microsoft YaHei, Microsoft YaHei;
  1772. font-weight: 400;
  1773. font-size: 20px;
  1774. color: #999999;
  1775. a {
  1776. color: #999999;
  1777. }
  1778. // em{
  1779. // display: inline-block;
  1780. // width: 8px;
  1781. // height: 8px;
  1782. // background-color: #a01c0e;
  1783. // border-radius: 4px;
  1784. // position: absolute;
  1785. // top: 9px;
  1786. // right: 6px;
  1787. // }
  1788. }
  1789. }
  1790. .part3_left_content1 {
  1791. width: 720px;
  1792. .content_bottom_left {
  1793. float: left;
  1794. width: 350px;
  1795. // height: 350px;
  1796. .content_top {
  1797. width: 350px;
  1798. img {
  1799. width: 350px;
  1800. height: 230px;
  1801. }
  1802. .part3_text {
  1803. display: inline-block;
  1804. width: 350px;
  1805. height: 50px;
  1806. line-height: 22px;
  1807. display: -webkit-box;
  1808. -webkit-box-orient: vertical;
  1809. -webkit-line-clamp: 2;
  1810. overflow: hidden;
  1811. text-overflow: ellipsis;
  1812. word-break: break-all;
  1813. margin-top: 15px;
  1814. font-family: Microsoft YaHei, Microsoft YaHei;
  1815. font-weight: bold;
  1816. font-size: 18px;
  1817. color: #333333
  1818. }
  1819. }
  1820. .content_top:hover {
  1821. .part3_text {
  1822. color: #a01c0e;
  1823. }
  1824. }
  1825. .content_bottom {
  1826. width: 350px;
  1827. margin-top: 20px;
  1828. .content_bottom_1 {
  1829. float: left;
  1830. width: 165px;
  1831. img {
  1832. width: 165px;
  1833. height: 96px;
  1834. }
  1835. .part3_text {
  1836. display: inline-block;
  1837. width: 165px;
  1838. height: 44px;
  1839. line-height: 22px;
  1840. display: -webkit-box;
  1841. -webkit-box-orient: vertical;
  1842. -webkit-line-clamp: 2;
  1843. overflow: hidden;
  1844. text-overflow: ellipsis;
  1845. word-break: break-all;
  1846. font-family: Microsoft YaHei, Microsoft YaHei;
  1847. font-weight: 400;
  1848. font-size: 18px;
  1849. color: #333333;
  1850. margin-top: 10px;
  1851. }
  1852. }
  1853. .content_bottom_1:hover {
  1854. .part3_text {
  1855. color: #a01c0e;
  1856. }
  1857. }
  1858. .content_bottom_1:first-child {
  1859. margin-right: 20px;
  1860. }
  1861. }
  1862. }
  1863. .content_bottom_right {
  1864. float: left;
  1865. margin-left: 20px;
  1866. width: 350px;
  1867. .bottom_content_1 {
  1868. width: 350px;
  1869. .bottom_content_list:nth-child(5n+1) {
  1870. font-weight: bold;
  1871. }
  1872. .bottom_content_list {
  1873. width: 350px;
  1874. height: 25px;
  1875. white-space: nowrap;
  1876. overflow: hidden;
  1877. text-overflow: ellipsis;
  1878. font-family: Microsoft YaHei, Microsoft YaHei;
  1879. font-weight: 400;
  1880. font-size: 18px;
  1881. color: #333333;
  1882. line-height: 21px;
  1883. margin-bottom: 25px;
  1884. a {
  1885. color: #333333;
  1886. }
  1887. }
  1888. .bottom_content_list:hover {
  1889. a {
  1890. color: #a01c0e;
  1891. }
  1892. }
  1893. }
  1894. .bottom_content_1:first-child {
  1895. margin-bottom: 20px;
  1896. }
  1897. .bottom_content_1:last-child {
  1898. .bottom_content_list:last-child {
  1899. margin-bottom: 0;
  1900. }
  1901. }
  1902. }
  1903. }
  1904. }
  1905. }
  1906. .part3_right {
  1907. float: right;
  1908. width: 451px;
  1909. .part3_rightTitle {
  1910. width: 451px;
  1911. height: 50px;
  1912. line-height: 50px;
  1913. .part3_right_title:first-child {
  1914. float: left;
  1915. margin-right: 20px;
  1916. width: 100px;
  1917. height: 50px;
  1918. line-height: 50px;
  1919. position: relative;
  1920. font-family: Microsoft YaHei, Microsoft YaHei;
  1921. font-weight: 400;
  1922. font-size: 20px;
  1923. color: #333333;
  1924. a {
  1925. color: #333333;
  1926. }
  1927. em {
  1928. display: inline-block;
  1929. width: 8px;
  1930. height: 8px;
  1931. background-color: #a01c0e;
  1932. border-radius: 4px;
  1933. position: absolute;
  1934. top: 9px;
  1935. right: 6px;
  1936. }
  1937. }
  1938. .part3_right_title {
  1939. float: left;
  1940. margin-right: 20px;
  1941. width: 100px;
  1942. height: 50px;
  1943. line-height: 50px;
  1944. position: relative;
  1945. font-family: Microsoft YaHei, Microsoft YaHei;
  1946. font-weight: 400;
  1947. font-size: 20px;
  1948. color: #999999;
  1949. a {
  1950. color: #999999;
  1951. }
  1952. // em{
  1953. // display: inline-block;
  1954. // width: 8px;
  1955. // height: 8px;
  1956. // background-color: #a01c0e;
  1957. // border-radius: 4px;
  1958. // position: absolute;
  1959. // top: 9px;
  1960. // right: 6px;
  1961. // }
  1962. }
  1963. .rightMore {
  1964. float: right;
  1965. font-family: Microsoft YaHei, Microsoft YaHei;
  1966. font-weight: 400;
  1967. font-size: 12px;
  1968. color: #999999;
  1969. a {
  1970. color: #999999;
  1971. }
  1972. }
  1973. }
  1974. .part3_right_content_top {
  1975. width: 451px;
  1976. height: 325px;
  1977. position: relative;
  1978. margin-top: 20px;
  1979. .part3_right_contentlist_top {
  1980. font-family: Microsoft YaHei, Microsoft YaHei;
  1981. font-weight: 400;
  1982. font-size: 18px;
  1983. color: #333333;
  1984. width: 425px;
  1985. height: 25px;
  1986. white-space: nowrap;
  1987. overflow: hidden;
  1988. text-overflow: ellipsis;
  1989. margin-bottom: 25px;
  1990. a {
  1991. color: #333333;
  1992. }
  1993. .numStyle {
  1994. display: inline-block;
  1995. width: 22px;
  1996. height: 22px;
  1997. background-color: #f6f6f6;
  1998. text-align: center;
  1999. margin-right: 20px;
  2000. font-family: Protest Strike, Protest Strike;
  2001. font-weight: 400;
  2002. font-size: 16px;
  2003. color: #CCCCCC;
  2004. border-radius: 4px;
  2005. }
  2006. }
  2007. .part3_right_contentlist_top:hover {
  2008. color: #a01c0e;
  2009. a {
  2010. color: #a01c0e;
  2011. }
  2012. }
  2013. .part3_right_contentlist_top:nth-child(1) {
  2014. .numStyle {
  2015. background-color: #a01c0e;
  2016. color: #fff;
  2017. }
  2018. }
  2019. .part3_right_contentlist_top:nth-child(2) {
  2020. .numStyle {
  2021. background-color: #FFC62E;
  2022. color: #fff;
  2023. }
  2024. }
  2025. .part3_right_contentlist_top:nth-child(3) {
  2026. .numStyle {
  2027. background-color: #e98008;
  2028. color: #fff;
  2029. }
  2030. }
  2031. .part3_right_contentlist_top:last-child {
  2032. margin-bottom: 10px;
  2033. }
  2034. }
  2035. .part3_photo_text_right {
  2036. width: 451px;
  2037. height: 120px;
  2038. margin-top: 35px;
  2039. margin-bottom: 35px;
  2040. background-color: #f6f3f0;
  2041. .part3_text11 {
  2042. float: left;
  2043. width: 271px;
  2044. height: 96px;
  2045. display: -webkit-box;
  2046. -webkit-box-orient: vertical;
  2047. -webkit-line-clamp: 3;
  2048. overflow: hidden;
  2049. text-overflow: ellipsis;
  2050. word-break: break-all;
  2051. font-family: Microsoft YaHei, Microsoft YaHei;
  2052. font-weight: 400;
  2053. font-size: 18px;
  2054. color: #333333;
  2055. padding: 25px 20px;
  2056. box-sizing: border-box;
  2057. }
  2058. img {
  2059. float: left;
  2060. width: 180px;
  2061. height: 120px;
  2062. }
  2063. }
  2064. .part3_photo_text_right:hover {
  2065. color: #a01c0e;
  2066. .part3_text11 {
  2067. color: #a01c0e;
  2068. }
  2069. }
  2070. .part3_right_content_11 {
  2071. width: 451px;
  2072. height: 70px;
  2073. position: relative;
  2074. .part3_right_contentlist_11 {
  2075. width: 451px;
  2076. height: 25px;
  2077. white-space: nowrap;
  2078. overflow: hidden;
  2079. text-overflow: ellipsis;
  2080. font-family: Microsoft YaHei, Microsoft YaHei;
  2081. font-weight: 400;
  2082. font-size: 18px;
  2083. color: #333333;
  2084. line-height: 21px;
  2085. .erjibiaoti {
  2086. display: inline-block;
  2087. width: 87px;
  2088. height: 24px;
  2089. font-family: Microsoft YaHei, Microsoft YaHei;
  2090. font-weight: 400;
  2091. font-size: 18px;
  2092. color: #A01C0E;
  2093. border-right: #D3D5D8 1px solid;
  2094. margin-right: 10px;
  2095. }
  2096. a {
  2097. color: #333333;
  2098. }
  2099. }
  2100. .part3_right_contentlist_11:hover {
  2101. color: #a01c0e;
  2102. a {
  2103. color: #a01c0e;
  2104. }
  2105. }
  2106. .part3_right_contentlist_11:first-child {
  2107. margin-bottom: 25px;
  2108. }
  2109. }
  2110. }
  2111. }
  2112. }
  2113. </style>